projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6297eb0
)
Use PASSWORD_STORE_DIR in auth-source-pass when set
author
Stefan Kangas
<stefankangas@gmail.com>
Sun, 6 Oct 2019 02:02:27 +0000
(
04:02
+0200)
committer
Stefan Kangas
<stefankangas@gmail.com>
Sat, 2 Nov 2019 00:33:40 +0000
(
01:33
+0100)
* lisp/auth-source-pass.el (auth-source-pass-filename): Initialize to
PASSWORD_STORE_DIR environment variable when set. (Bug#29663)
lisp/auth-source-pass.el
patch
|
blob
|
history
diff --git
a/lisp/auth-source-pass.el
b/lisp/auth-source-pass.el
index c45c782c27c4e8d6ff556c77cb0248b323c023ff..524a72792cfa06f953288a64b91302d5ac1c38a5 100644
(file)
--- a/
lisp/auth-source-pass.el
+++ b/
lisp/auth-source-pass.el
@@
-45,7
+45,8
@@
:group 'auth-source
:version "27.1")
-(defcustom auth-source-pass-filename "~/.password-store"
+(defcustom auth-source-pass-filename
+ (or (getenv "PASSWORD_STORE_DIR") "~/.password-store")
"Filename of the password-store folder."
:type 'directory
:version "27.1")